import 'package:FiduMart/generated/json/base/json_field.dart';
import 'package:FiduMart/generated/json/account_exchange_entity.g.dart';
import 'dart:convert';
export 'package:FiduMart/generated/json/account_exchange_entity.g.dart';

@JsonSerializable()
class AccountExchangeEntity {
	double? id;
	String? name;
	double? recommend;
	@JSONField(name: "txt_zh")
	String? txtZh;
	@JSONField(name: "txt_en")
	String? txtEn;
	@JSONField(name: "txt_tha")
	String? txtTha;
	String? address;
	String? icon;

	AccountExchangeEntity();

	factory AccountExchangeEntity.fromJson(Map<String, dynamic> json) => $AccountExchangeEntityFromJson(json);

	Map<String, dynamic> toJson() => $AccountExchangeEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}